package mylibrary.com.thinking.java.chapter15.s156;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import mylibrary.com.thinking.java.chapter15.s1521.TupleTest;
import mylibrary.com.thinking.java.chapter15.s1521.TwoTuple;

public class TupleList<A, B> extends ArrayList<TwoTuple<A, B>>{

	public static void main(String[] args) {
		
		TupleList<String, Integer> t1 = new TupleList<String, Integer>();
		
		t1.add(TupleTest.f());	
		t1.add(TupleTest.f());
		
		for(TwoTuple<String, Integer> t: t1) {
			System.out.println(t);
		}
		
	}
	
}
